<?php if ($credits && ! empty($credits)): ?>
<table class="table">
	<thead>
		<tr>
			<th>Dana 1</th>
			<th>Dana 2</th>
			<th>Dana 3</th>
		</tr>
	</thead>
	<tbody>
	<?php foreach($credits as $c): ?>
		<tr>
			<td>Wartość 1</td>
			<td>Wartość 2</td>
			<td>Wartość 3</td>
		</tr>
	<?php endforeach; ?>
	</tbody>
</table>
<?php else: ?>
	<div class="alert">Brak kredytów.</div>
<?php endif; ?>
